<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="csrf-token" content="{{ csrf_token() }}">
    <title>@yield('title', '编程达人') | {{ setting('site_name', '爱达人 编程达人') }}</title>

    <meta name="description" content="@yield('description', setting('seo_description', '有问题，找达人，编程达人！好基友！'))" />
    <meta name="keyword" content="@yield('keyword', setting('seo_keyword', '编程达人问答,编程达人视频，编程达人开发者论坛'))" />
    <!-- Styles -->
    <link href="{{ asset('css/app.css') }}" rel="stylesheet">
    @yield('styles')
</head>

<body>
@include('layouts._header')

<div id="app" >
    <div class="{{ route_class() }}-page">
      @yield('content')
    </div>
    <div class="moquu">
        <div id="moquu_wxin" class="moquu_wxin"><a href="javascript:void(0)">关注微信<div class="moquu_wxinh"></div></a></div>
        <div id="moquu_wshare" class="moquu_wshare"><a href="javascript:void(0)">下载APP<div class="moquu_wshareh"></div></a></div>
        <div id="moquu_wmaps"><a href="javascript:void(0)" class='moquu_wmaps'>客服</a></div>
        <a id="moquu_top" href="javascript:void(0)"></a>
    </div>

</div>
@include('layouts._footer')
@if (app()->isLocal())
    @include('sudosu::user-selector')
@endif
<!-- Scripts -->
<script src="{{ asset('js/app.js') }}"></script>
@yield('script')
</body>
</html>